package com.java.mapper;

import com.java.entity.ExChapterRecord;
import com.java.entity.vo.ChapterRecordVo;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.java.dao.ExChapterRecordDao;

/**
* @ClassName: ExChapterRecordMapper
* @Description: ExChapterRecordDao对应的Mapper继承类
* 由ExChapterRecordDao提供基本的增删改查接口，其他业务接口在此实现即可
* @author admin
* @date 2024-03-15
 */
public interface ExChapterRecordMapper extends ExChapterRecordDao {
    
    ExChapterRecord selectByInfo(ExChapterRecord info);

    List<ChapterRecordVo> selectVoAll(@Param("title")String title, @Param("type")String type, @Param("accountId")String accountId, @Param("pageOffset")int pageOffset, @Param("pageSize")int pageSize);

    long selectVoAllCount(@Param("title")String title, @Param("type")String type, @Param("accountId")String accountId);

	ChapterRecordVo selectVo( @Param("chapterId")String chapterId,  @Param("accountId")String accountId);

	ChapterRecordVo selectVoById(String recordId);
	
    ExChapterRecord selectExamLast();
}
